package com.logic.saas.pojo;

import java.io.Serializable;

import com.logic.saas.util.annotation.Column;
import com.logic.saas.util.annotation.Table;
@Table(name="module_price")
public class ModulePrice extends BasePojo implements Serializable{

	private static final long serialVersionUID = 3432412917194848248L;
	
	@Column(name="module_id",source="saasModule.id")
	private SaasModule saasModule;
	@Column(name="price")
	private Float price;
	@Column(name="price_unit",source="priceUnit.id")
	private Qcode priceUnit;
	@Column(name="price_period",source="pricePeriod.id")
	private Qcode pricePeriod;
	
	public SaasModule getSaasModule() {
		return saasModule;
	}
	public void setSaasModule(SaasModule saasModule) {
		this.saasModule = saasModule;
	}
	public Float getPrice() {
		return price;
	}
	public void setPrice(Float price) {
		this.price = price;
	}
	public Qcode getPriceUnit() {
		return priceUnit;
	}
	public void setPriceUnit(Qcode priceUnit) {
		this.priceUnit = priceUnit;
	}
	public Qcode getPricePeriod() {
		return pricePeriod;
	}
	public void setPricePeriod(Qcode pricePeriod) {
		this.pricePeriod = pricePeriod;
	}
}
